home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_11_01
/
1101018b
< prev
next >
Wrap
Text File
|
1992-11-07
|
667b
|
23 lines
/* xtime.h internal header */
#include <time.h>
#include "xtinfo.h"
/* macros */
#define WDAY 1 /* to get day of week right */
/* type definitions */
typedef struct {
unsigned char wday, hour, day, mon, year;
} Dstrule;
/* internal declarations */
int _Daysto(int, int);
const char *_Gentime(const struct tm *, _Tinfo *,
const char *, int *, char *);
Dstrule *_Getdst(const char *);
const char *_Gettime(const char *, int, int *);
int _Isdst(const struct tm *);
const char *_Getzone(void);
size_t _Strftime(char *, size_t, const char *,
const struct tm *, _Tinfo *);
struct tm *_Ttotm(struct tm *, time_t, int);
time_t _Tzoff(void);